[INFO] cloning repository https://github.com/DenialAdams/trash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenialAdams/trash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2eb207e0d1354cb3e72bcbd4a421efbfcedbe767
[INFO] checking DenialAdams/trash against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DenialAdams/trash on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DenialAdams/trash
[INFO] finished tweaking git repo https://github.com/DenialAdams/trash
[INFO] tweaked toml for git repo https://github.com/DenialAdams/trash written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/DenialAdams/trash already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cae2d0557c62e3342372c812a80eb6c6a0f91539d36c962d27d4424d4d875ea7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cae2d0557c62e3342372c812a80eb6c6a0f91539d36c962d27d4424d4d875ea7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cae2d0557c62e3342372c812a80eb6c6a0f91539d36c962d27d4424d4d875ea7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cae2d0557c62e3342372c812a80eb6c6a0f91539d36c962d27d4424d4d875ea7", kill_on_drop: false }`
[INFO] [stdout] cae2d0557c62e3342372c812a80eb6c6a0f91539d36c962d27d4424d4d875ea7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7d1c14694a894aeae45fff5b486b42d7332187e79d4d7e1c21dc7fad929e4b2f
[INFO] running `Command { std: "docker" "start" "-a" "7d1c14694a894aeae45fff5b486b42d7332187e79d4d7e1c21dc7fad929e4b2f", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.39
[INFO] [stderr]     Checking termcolor v0.3.5
[INFO] [stderr]     Checking trash v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: found removed `do catch` syntax
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |                                             ^^^^^^^^ help: replace with the new syntax: `try`
[INFO] [stdout]    |
[INFO] [stdout]    = note: following RFC #2388, the new non-placeholder syntax is `try`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: found removed `do catch` syntax
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |                                             ^^^^^^^^ help: replace with the new syntax: `try`
[INFO] [stdout]    |
[INFO] [stdout]    = note: following RFC #2388, the new non-placeholder syntax is `try`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(catch_expr)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `try` expression is experimental
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 83 | |             prompt::write_prompt(&mut handle, &user_name, user_id, &home_dir, exit_status)?;
[INFO] [stdout] 84 | |             handle.flush()?;
[INFO] [stdout] 85 | |             io::stdin().read_line(&mut input_line)?;
[INFO] [stdout] 86 | |             let _ = input_line.pop(); // Newline
[INFO] [stdout] 87 | |             Ok(())
[INFO] [stdout] 88 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #31436 <https://github.com/rust-lang/rust/issues/31436> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/config.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn load_settings(home_dir: &str) -> Result<((Vec<PathBuf>, Vec<CString>, HashMap<CString, String>)), Error> {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/main.rs:202:57
[INFO] [stdout]     |
[INFO] [stdout] 202 |                         let mut wstatus: i32 = unsafe { std::mem::uninitialized() };
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(catch_expr)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `try` expression is experimental
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 83 | |             prompt::write_prompt(&mut handle, &user_name, user_id, &home_dir, exit_status)?;
[INFO] [stdout] 84 | |             handle.flush()?;
[INFO] [stdout] 85 | |             io::stdin().read_line(&mut input_line)?;
[INFO] [stdout] 86 | |             let _ = input_line.pop(); // Newline
[INFO] [stdout] 87 | |             Ok(())
[INFO] [stdout] 88 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #31436 <https://github.com/rust-lang/rust/issues/31436> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/config.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn load_settings(home_dir: &str) -> Result<((Vec<PathBuf>, Vec<CString>, HashMap<CString, String>)), Error> {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::result::Result<(), std::io::Error> as std::ops::Try>::Ok == std::result::Result<(), _>`
[INFO] [stdout]   --> src/main.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Ok(())
[INFO] [stdout]    |             ^^^^^^ expected `()`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `()`
[INFO] [stdout]               found enum `std::result::Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/main.rs:202:57
[INFO] [stdout]     |
[INFO] [stdout] 202 |                         let mut wstatus: i32 = unsafe { std::mem::uninitialized() };
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::result::Result<(), std::io::Error> as std::ops::Try>::Ok == std::result::Result<(), _>`
[INFO] [stdout]   --> src/main.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Ok(())
[INFO] [stdout]    |             ^^^^^^ expected `()`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `()`
[INFO] [stdout]               found enum `std::result::Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0554, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trash`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0554, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7d1c14694a894aeae45fff5b486b42d7332187e79d4d7e1c21dc7fad929e4b2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d1c14694a894aeae45fff5b486b42d7332187e79d4d7e1c21dc7fad929e4b2f", kill_on_drop: false }`
[INFO] [stdout] 7d1c14694a894aeae45fff5b486b42d7332187e79d4d7e1c21dc7fad929e4b2f
